package cn.tedu.hotel.serve.service;

import cn.tedu.hotel.serve.pojo.dto.HotelComplainingDTO;
import cn.tedu.hotel.serve.pojo.vo.HotelComplainingVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelComplainingService {
    String HOTEL_COMPLAINING_UNDER_REVIEW="审核中";

    String HOTEL_COMPLAINING_APPROVED="已审核";

    void addHotelComplain(HotelComplainingDTO hotelComplainingDTO);

    List<HotelComplainingVO> getAdminHotelComplaining();

    void updateHotelComplainingById(Long id,String feedbackContent);

    List<HotelComplainingVO> getHotelComplainingListById(Long userId);

    void deleteAdminHotelComplainingById(Long id);

}
